Skip to content

Added a class QueueableViewAsPdf to support generating pdf files in H…#118

Open
stephenzeng wants to merge 1 commit intowebgio:masterfrom
stephenzeng:master
Open

Added a class QueueableViewAsPdf to support generating pdf files in H…#118
stephenzeng wants to merge 1 commit intowebgio:masterfrom
stephenzeng:master

Conversation

@stephenzeng
Copy link

In one of my projects sometimes it takes very long time (more than 30 seconds) for it to generate a pdf and email it out. I found it takes most of the time for it to run the WkhtmltopdfDriver.ConvertHtml() method, so I created this class so that the WkhtmltopdfDriver.ConvertHtml() part can be executed in HostingEnvironment.QueueBackgroundWorkItem().

…ostingEnvironment.QueueBackgroundWorkItem()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant